# 添加成员并显示


import turtle

t = turtle.Pen()
turtle.bgcolor("black")
colorList = ["red", "yellow", "blue", "green", "orange", "purple", "white", "brown", "gray", "pink"];

family = []
name = turtle.textinput("添加成员", "成员姓名")
while name != "":
    family.append(name)
    name = turtle.textinput("添加成员", "成员姓名")

for x in range(100):
    t.pencolor(colorList[x % len(family)]);
    t.penup()
    t.forward(x * 4)
    t.pendown()
    t.write(family[x%len(family)],align="center", font=("Arial", int((x+4) / 4), "bold"))
    t.left(360/len(family) + 2)

